package com.niodata.dp.monitor.sharelib.entity.file;

import java.io.Serializable;
import java.util.List;

public class AlertSetting implements Serializable {

  private static final long serialVersionUID = 1100349897169633306L;

  boolean enableAlert;
  boolean useGroupSetting;
  List<MediaType> types;
  List<MediaInfo> medias;

  public boolean isEnableAlert() {
    return enableAlert;
  }

  public void setEnableAlert(boolean enableAlert) {
    this.enableAlert = enableAlert;
  }

  public boolean isUseGroupSetting() {
    return useGroupSetting;
  }

  public void setUseGroupSetting(boolean useGroupSetting) {
    this.useGroupSetting = useGroupSetting;
  }

  public List<MediaType> getTypes() {
    return types;
  }

  public void setTypes(List<MediaType> types) {
    this.types = types;
  }

  public List<MediaInfo> getMedias() {
    return medias;
  }

  public void setMedias(List<MediaInfo> medias) {
    this.medias = medias;
  }

  @Override
  public String toString() {
    return "AlertSetting{"
          + "enableAlert=" + enableAlert
          + ", useGroupSetting=" + useGroupSetting
          + ", types=" + types
          + ", medias=" + medias
          + '}';
  }
}
